package com.example.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.enetity.Article;

public interface ArticleService extends IService<Article> {
    void add(Article article);


    IPage<Article> getPage(Integer id, Integer pageNum, Integer pageSize, String categoryId, String state);


    Article getOneById(Integer id);
}
